package org.jeecg.modules.clue.enums;

public enum CarPlate {

    小喇叭("XIAO_LA_BA","XLBCarPlate"),
    汽车之家("QI_CHE_ZHI_JIA","QCZJCarPlate"),

  ;

    public String code;
    public String bean;

    CarPlate(String code,String bean) {
        this.code = code;
        this.bean = bean;
    }


    public static CarPlate getInstance(String code){
        for (CarPlate value : CarPlate.values()) {
            if (value.code.equals(code)) {
                return value;
            }
        }
        throw new RuntimeException("CarPlate 当前编码不存在车平台的bean");
    }
}
